package cn.kgc.spring.servlet;

import cn.kgc.spring.annotations.Autowired;
import cn.kgc.spring.service.UserService;

/**
 * @author 课工场
 * @date 2024/2/18
 * @description
 */
public class UserServlet {

    @Autowired
    private UserService userService;

    public String  deleteById(Integer id){
        System.out.println("userService = " + userService);
        return   userService.deleteById(id);
    }

}
